package com.zhang.spring.task;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestController {
    public TestController(){
        System.out.println("正在执行");
    }

    @GetMapping("/login1")
    public String login1(){
        System.out.println("登录成功");
        return "登陆成功";
    }


}
